package com.sharding.sphere.entity;

/**
 * @author xiangminwen
 * @since 2021/8/23 16:09
 */
public class OrderDO {
    private Long id;
    private Long orderId;
    private Long userId;
    private Long orderAmount;
    private String orderDesc;
    private String orderState;

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Long orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderDO{");
        sb.append("id=").append(id);
        sb.append(", orderId=").append(orderId);
        sb.append(", userId=").append(userId);
        sb.append(", orderAmount=").append(orderAmount);
        sb.append(", orderDesc='").append(orderDesc).append('\'');
        sb.append(", orderState='").append(orderState).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
